package yevgeniy.melnichuk.selenium.worker;

import com.thoughtworks.selenium.Selenium;

public class SleepSeleniumWorker extends SeleniumWorker {
	int sek;

	public SleepSeleniumWorker(Selenium selenium, int sek) {
		super(selenium);
		this.sek = sek;
	}

	@Override
	public void run() {
		try {
			Thread.sleep(sek * 1000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
}
